<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%><%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<tiles:insertDefinition name="layout">
	<tiles:putAttribute name="head">
	</tiles:putAttribute>
	<tiles:putAttribute name="mainBody">
		<form class="form-horizontal">
			<fieldset>
				<legend>查找学员</legend>
				<div class="control-group">
					<div class="control-label">内部编号</div>
					<div class="controls">
						<input type="text" name="no" value="${param.no}" />
					</div>
				</div>
				<div class="control-group">
					<div class="control-label">学号</div>
					<div class="controls">
						<input type="text" name="stuId" value="${param.stuId}" />
					</div>
				</div>
				<div class="control-group">
					<div class="control-label">姓名</div>
					<div class="controls">
						<input type="text" name="name" value="${param.name}" />
					</div>
				</div>
				<div class="control-group">
					<div class="controls">
						<button type="submit" class="btn btn-primary">查询</button>
					</div>
				</div>
			</fieldset>
		</form>
		<ul>
			<s:iterator value="students" var="student">
				<li><a href="signUp?id=${student.id}">${student.name}(${student.no})</a> <s:url id="viewLogByTime"
						action="viewLogByTime" namespace="/log">
						<s:param name="id" value="#student.id"></s:param>
					</s:url> <a href="${viewLogByTime}">档案详情</a></li>
			</s:iterator>
		</ul>
	</tiles:putAttribute>
</tiles:insertDefinition>